package com.itheima_04;

public class Rabbit extends Animal {

    @Override
    public void eat() {
        System.out.println( "Rabbit为年龄"+ getAge()+ " 属性,Rabbit为腿的个数"+ getNumOfLegs() );
    }
}
